package com.fer.t1.client.widgets;

import com.google.gwt.user.client.ui.PopupPanel;

/**
 * Creates a PopupPanel with the most common options enabled, i.e.
 * <ol>
 * 	<li>Animated</li>
 * 	<li>GlassEnabled</li>
 * 	<li>AutoHide</li>
 * 	<li>Centered</li>
 * </ol>
 * @author mono
 *
 */
public abstract class PopupWidget extends PopupPanel{

	private static PopupPanel popupPanel;
	
	public PopupWidget()
	{
		popupPanel = new PopupPanel(true);
		popupPanel.setAnimationEnabled(true);
		popupPanel.setAutoHideEnabled(true);
		popupPanel.setGlassEnabled(true);
		popupPanel.center();
	}
	
	

}
